

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/taotaogitee.gitee.io/img/favicon.png">
  <link rel="icon" href="/taotaogitee.gitee.io/img/favicon.png">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#447EA5">
  <meta name="author" content="Oscar">
  <meta name="keywords" content="">
  
    <meta name="description" content="演示这次演示的项目是由前后端分离再结合的案例 首先前端采用的是Vue框架，在前端完成之后在终端输入命令生成项目文件 1npm run build  运行结束之后会发现项目目录中多了一个dist的文件夹（如果你之前没有生成过的话），之后我们就可以把该文件夹里面的内容复制到后端项目中。  接下来我们要在spring-mvc.xml内对一些静态资源进行放行配置。 1234&lt;!--静态页面，如htm">
<meta property="og:type" content="article">
<meta property="og:title" content="浅谈Tomcat发布">
<meta property="og:url" content="http://taotaogitee.gitee.io/taotaogitee.gitee.io/2022/05/15/%E6%B5%85%E8%B0%88Tomcat%E5%8F%91%E5%B8%83/index.html">
<meta property="og:site_name" content="罗涛涛のBlog">
<meta property="og:description" content="演示这次演示的项目是由前后端分离再结合的案例 首先前端采用的是Vue框架，在前端完成之后在终端输入命令生成项目文件 1npm run build  运行结束之后会发现项目目录中多了一个dist的文件夹（如果你之前没有生成过的话），之后我们就可以把该文件夹里面的内容复制到后端项目中。  接下来我们要在spring-mvc.xml内对一些静态资源进行放行配置。 1234&lt;!--静态页面，如htm">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://taotaogitee.gitee.io/taotaogitee.gitee.io/img/blog/5.png">
<meta property="article:published_time" content="2022-05-15T03:43:01.144Z">
<meta property="article:modified_time" content="2022-05-15T04:25:04.650Z">
<meta property="article:author" content="Oscar">
<meta property="article:tag" content="Tomcat">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="http://taotaogitee.gitee.io/taotaogitee.gitee.io/img/blog/5.png">
  
  
  <title>浅谈Tomcat发布 - 罗涛涛のBlog</title>

  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css" />


  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@4/github-markdown.min.css" />
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2/hint.min.css" />

  
    
    
      
      <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@10/styles/github-gist.min.css" />
    
  

  
    <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/jquery.fancybox.min.css" />
  


<!-- 主题依赖的图标库，不要自行修改 -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">


<link  rel="stylesheet" href="/taotaogitee.gitee.io/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    var CONFIG = {"hostname":"taotaogitee.gitee.io","root":"/taotaogitee.gitee.io/","version":"1.8.14","typing":{"enable":true,"typeSpeed":80,"cursorChar":"|","loop":true},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/taotaogitee.gitee.io/local-search.xml"};
  </script>
  <script  src="/taotaogitee.gitee.io/js/utils.js" ></script>
  <script  src="/taotaogitee.gitee.io/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 5.4.2"></head>


<body>
  <header style="height: 70vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/taotaogitee.gitee.io/">
      <strong>罗涛涛の博客</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/taotaogitee.gitee.io/">
                <i class="iconfont icon-home-fill"></i>
                首页
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/taotaogitee.gitee.io/archives/">
                <i class="iconfont icon-archive-fill"></i>
                归档
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/taotaogitee.gitee.io/categories/">
                <i class="iconfont icon-category-fill"></i>
                分类
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/taotaogitee.gitee.io/tags/">
                <i class="iconfont icon-tags-fill"></i>
                标签
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/taotaogitee.gitee.io/about/">
                <i class="iconfont icon-user-fill"></i>
                关于
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              &nbsp;<i class="iconfont icon-search"></i>&nbsp;
            </a>
          </li>
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">&nbsp;<i
                class="iconfont icon-dark" id="color-toggle-icon"></i>&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="banner" id="banner" parallax=true
         style="background: url('/taotaogitee.gitee.io/img/bg.png') no-repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
          <div class="page-header text-center fade-in-up">
            <span class="h2" id="subtitle" title="浅谈Tomcat发布">
              
            </span>

            
              <div class="mt-3">
  
  
    <span class="post-meta">
      <i class="iconfont icon-date-fill" aria-hidden="true"></i>
      <time datetime="2022-05-15 11:43" pubdate>
        2022年5月15日 中午
      </time>
    </span>
  
</div>

<div class="mt-1">
  
    <span class="post-meta mr-2">
      <i class="iconfont icon-chart"></i>
      2.8k 字
    </span>
  

  
    <span class="post-meta mr-2">
      <i class="iconfont icon-clock-fill"></i>
      
      
      24 分钟
    </span>
  

  
  
</div>

            
          </div>

          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="d-none d-lg-block col-lg-2"></div>
    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div class="py-5" id="board">
          <article class="post-content mx-auto">
            <!-- SEO header -->
            <h1 style="display: none">浅谈Tomcat发布</h1>
            
            <div class="markdown-body">
              <h3 id="演示"><a href="#演示" class="headerlink" title="演示"></a>演示</h3><p>这次演示的项目是由前后端分离再结合的案例</p>
<p>首先前端采用的是Vue框架，在前端完成之后在终端输入命令生成项目文件</p>
<figure class="highlight routeros"><table><tr><td class="gutter"><div class="code-wrapper"><pre><span class="line">1</span><br></pre></div></td><td class="code"><pre><code class="hljs routeros">npm <span class="hljs-built_in">run</span> build<br></code></pre></td></tr></table></figure>

<p>运行结束之后会发现项目目录中多了一个dist的文件夹（如果你之前没有生成过的话），之后我们就可以把该文件夹里面的内容复制到后端项目中。</p>
<p><img src="C:\Users\Oscar\AppData\Roaming\Typora\typora-user-images\image-20220515120205074.png" srcset="/taotaogitee.gitee.io/img/loading.gif" lazyload alt="image-20220515120205074"></p>
<p>接下来我们要在spring-mvc.xml内对一些静态资源进行放行配置。</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><code class="hljs xml"><span class="hljs-comment">&lt;!--静态页面，如html,css,js,images可以访问--&gt;</span><br><span class="hljs-tag">&lt;<span class="hljs-name">mvc:default-servlet-handler</span> /&gt;</span><br><span class="hljs-comment">&lt;!--通过location，可以重新定义资源文件的位置--&gt;</span><br><span class="hljs-tag">&lt;<span class="hljs-name">mvc:resources</span> <span class="hljs-attr">mapping</span>=<span class="hljs-string">&quot;/static/**&quot;</span> <span class="hljs-attr">location</span>=<span class="hljs-string">&quot;/static/&quot;</span>/&gt;</span><br></code></pre></td></tr></table></figure>

<p>到这里就已经做好了配置。</p>
<p>为了把项目发布到我们的tomcat上，我们先生成war包，后期直接放到Tomcat的webapp文件夹就可以了（如果Tomcat已经运行，直接复制进去就可以了，会自动发布，不需要重启）</p>
<p><img src="C:\Users\Oscar\AppData\Roaming\Typora\typora-user-images\image-20220515120727382.png" srcset="/taotaogitee.gitee.io/img/loading.gif" lazyload alt="image-20220515120727382"></p>
<p>那么我们就可以在后端项目文件targrt看到生成好的war文件。</p>
<h3 id="提醒"><a href="#提醒" class="headerlink" title="提醒"></a>提醒</h3><p>此处war包的名字会影响到后期访问地址，所以尽量一致，可以 减少后期的修改。比如你在开发中后端设置为/Controller为地址，最好改成Controller.war。那么发布完成之后地址就会变为:192.168.xx.xx:8080/Controller/static/index.html</p>
<p>这里因为我用static文件把前端问价装起来了，所以可以根据自己需求灵活变动。</p>
<h3 id="扩展"><a href="#扩展" class="headerlink" title="扩展"></a>扩展</h3><p>根据我自己踩过的坑，给大家补充一点小知识。</p>
<p>前端如果有设置代理服务器的，记得把ip改成要发布的服务器ip，比如：</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br></pre></td><td class="code"><pre><code class="hljs js"><span class="hljs-comment">// 配置vue的启动配置，其他加载器的配置</span><br><br><span class="hljs-variable language_">module</span>.<span class="hljs-property">exports</span> = &#123; <span class="hljs-comment">// 导出当前模块</span><br><br>  <span class="hljs-comment">// 配置当前服务的对象</span><br><br>  <span class="hljs-attr">devServer</span>:&#123;<br><br>​    <span class="hljs-attr">open</span>:<span class="hljs-literal">true</span>, <span class="hljs-comment">// 默认打开浏览器</span><br><br>​    <span class="hljs-attr">host</span>:<span class="hljs-string">&#x27;192.168.0.67&#x27;</span>, <span class="hljs-comment">// 当前项目服务的主机名</span><br><br>​    <span class="hljs-attr">port</span>:<span class="hljs-number">8080</span>,  <span class="hljs-comment">// 端口号</span><br><br>​    <span class="hljs-attr">proxy</span>:&#123; <span class="hljs-comment">// 代理端口/代理服务器的对象</span><br><br>​      <span class="hljs-string">&#x27;/SqlController&#x27;</span>:&#123;<br><br>​        <span class="hljs-attr">target</span>:<span class="hljs-string">&#x27;http://192.168.0.67:8080&#x27;</span>,  <span class="hljs-comment">// 代理的服务器域名</span><br><br>​        <span class="hljs-attr">changeOrigin</span>:<span class="hljs-literal">true</span><br><br>​      &#125;<br><br>​    &#125;<br><br>  &#125;<br><br>&#125;<br><br><br></code></pre></td></tr></table></figure>

<p>配置完之后，再去运行npm run build命令生成文件。</p>
<p>如果发布完之后还是显示静态资源加载不到：index.html可以访问，但是css、js等文件加载不到，建议去index.html这个文件里看看他的调用地址，修改一下就好啦。</p>
<p>如果需要配置跨域的，这里也分享一个方案。</p>
<p>首先先创建工具类CorsFilter</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><code class="hljs java"><span class="hljs-comment">//跨域过滤器</span><br><span class="hljs-keyword">import</span> javax.servlet.*;<br><span class="hljs-keyword">import</span> javax.servlet.annotation.WebFilter;<br><span class="hljs-keyword">import</span> javax.servlet.http.HttpServletRequest;<br><span class="hljs-keyword">import</span> javax.servlet.http.HttpServletResponse;<br><span class="hljs-keyword">import</span> java.io.IOException;<br><span class="hljs-comment">/*注解标签的方式配置*/</span><br><span class="hljs-meta">@WebFilter</span><br><span class="hljs-keyword">public</span> <span class="hljs-keyword">class</span> <span class="hljs-title class_">CorsFilter</span> <span class="hljs-keyword">implements</span> <span class="hljs-title class_">Filter</span> &#123;<br>    <span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title function_">init</span><span class="hljs-params">(FilterConfig filterConfig)</span> <span class="hljs-keyword">throws</span> ServletException &#123;<br><br>    &#125;<br><br>    <span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title function_">doFilter</span><span class="hljs-params">(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)</span><br>            <span class="hljs-keyword">throws</span> IOException, ServletException &#123;<br>        <span class="hljs-type">HttpServletResponse</span> <span class="hljs-variable">httpResponse</span> <span class="hljs-operator">=</span> (HttpServletResponse) servletResponse;<br>        <span class="hljs-type">HttpServletRequest</span> <span class="hljs-variable">httpRequest</span> <span class="hljs-operator">=</span> (HttpServletRequest) servletRequest;<br>        <span class="hljs-comment">//允许携带Cookie时不能设置为* 否则前端报错</span><br>        httpResponse.setHeader(<span class="hljs-string">&quot;Access-Control-Allow-Origin&quot;</span>, httpRequest.getHeader(<span class="hljs-string">&quot;origin&quot;</span>));<span class="hljs-comment">//允许所有请求跨域</span><br>        httpResponse.setHeader(<span class="hljs-string">&quot;Access-Control-Allow-Methods&quot;</span>, <span class="hljs-string">&quot;*&quot;</span>);<span class="hljs-comment">//允许跨域的请求方法GET, POST, HEAD 等</span><br>        httpResponse.setHeader(<span class="hljs-string">&quot;Access-Control-Allow-Headers&quot;</span>, <span class="hljs-string">&quot;*&quot;</span>);<span class="hljs-comment">//允许跨域的请求头</span><br>        httpResponse.setHeader(<span class="hljs-string">&quot;Access-Control-Allow-Credentials&quot;</span>, <span class="hljs-string">&quot;true&quot;</span>);<span class="hljs-comment">//是否携带cookie</span><br><br>        filterChain.doFilter(servletRequest, servletResponse);<br>    &#125;<br><br>    <span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title function_">destroy</span><span class="hljs-params">()</span> &#123;<br><br>    &#125;<br>&#125;<br></code></pre></td></tr></table></figure>

<p>然后在web.xml进行配置</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><code class="hljs xml"><span class="hljs-comment">&lt;!--跨域配置--&gt;</span><br><span class="hljs-tag">&lt;<span class="hljs-name">filter</span>&gt;</span><br>	<span class="hljs-tag">&lt;<span class="hljs-name">filter-name</span>&gt;</span>cors<span class="hljs-tag">&lt;/<span class="hljs-name">filter-name</span>&gt;</span><br>	<span class="hljs-tag">&lt;<span class="hljs-name">filter-class</span>&gt;</span>cn.gok.tool.CorsFilter<span class="hljs-tag">&lt;/<span class="hljs-name">filter-class</span>&gt;</span><br><span class="hljs-tag">&lt;/<span class="hljs-name">filter</span>&gt;</span><br><span class="hljs-tag">&lt;<span class="hljs-name">filter-mapping</span>&gt;</span><br>	<span class="hljs-tag">&lt;<span class="hljs-name">filter-name</span>&gt;</span>cors<span class="hljs-tag">&lt;/<span class="hljs-name">filter-name</span>&gt;</span><br>	<span class="hljs-tag">&lt;<span class="hljs-name">url-pattern</span>&gt;</span>/*<span class="hljs-tag">&lt;/<span class="hljs-name">url-pattern</span>&gt;</span><br><span class="hljs-tag">&lt;/<span class="hljs-name">filter-mapping</span>&gt;</span><br></code></pre></td></tr></table></figure>

<h3 id="生活小谈"><a href="#生活小谈" class="headerlink" title="生活小谈"></a>生活小谈</h3><p>马上就要出去实习了，真的很期待也很彷徨。但是不断充实自己终归是没错的，加油！（有点想回家了，疫情真的还不结束吗？越来越有恐怖片的味道了。。。）</p>

            </div>
            <hr>
            <div>
              <div class="post-metas mb-3">
                
                  <div class="post-meta mr-3">
                    <i class="iconfont icon-category"></i>
                    
                      <a class="hover-with-bg" href="/taotaogitee.gitee.io/categories/%E6%8A%80%E6%9C%AF/">技术</a>
                    
                  </div>
                
                
                  <div class="post-meta">
                    <i class="iconfont icon-tags"></i>
                    
                      <a class="hover-with-bg" href="/taotaogitee.gitee.io/tags/Tomcat/">Tomcat</a>
                    
                  </div>
                
              </div>
              
                <p class="note note-warning">
                  
                    本博客所有文章除特别声明外，均采用 <a target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" rel="nofollow noopener noopener">CC BY-SA 4.0 协议</a> ，转载请注明出处！
                  
                </p>
              
              
                <div class="post-prevnext">
                  <article class="post-prev col-6">
                    
                    
                      <a href="/taotaogitee.gitee.io/2022/07/06/%E5%8A%A8%E6%80%81%E6%95%B0%E6%8D%AE%E6%BA%90/">
                        <i class="iconfont icon-arrowleft"></i>
                        <span class="hidden-mobile">实现动态数据源</span>
                        <span class="visible-mobile">上一篇</span>
                      </a>
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/taotaogitee.gitee.io/2022/04/22/%E6%B5%85%E8%B0%88-Mybatis/">
                        <span class="hidden-mobile">浅谈-Mybatis</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
          </article>
        </div>
      </div>
    </div>
    
      <div class="d-none d-lg-block col-lg-2 toc-container" id="toc-ctn">
        <div id="toc">
  <p class="toc-header"><i class="iconfont icon-list"></i>&nbsp;目录</p>
  <div class="toc-body" id="toc-body"></div>
</div>

      </div>
    
  </div>
</div>

<!-- Custom -->


    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
    

    
  </main>

  <footer class="text-center mt-5 py-3">
  <div class="footer-content">
     <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>游戏</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>人生</span></a> 
  </div>
  

  

  
</footer>


  <!-- SCRIPTS -->
  
  <script  src="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js" ></script>
<script  src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.min.js" ></script>
<script  src="/taotaogitee.gitee.io/js/events.js" ></script>
<script  src="/taotaogitee.gitee.io/js/plugins.js" ></script>

<!-- Plugins -->


  <script  src="/taotaogitee.gitee.io/js/local-search.js" ></script>



  
    <script  src="/taotaogitee.gitee.io/js/img-lazyload.js" ></script>
  



  



  
    <script  src="https://cdn.jsdelivr.net/npm/tocbot@4/dist/tocbot.min.js" ></script>
  
  
    <script  src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/jquery.fancybox.min.js" ></script>
  
  
    <script  src="https://cdn.jsdelivr.net/npm/anchor-js@4/anchor.min.js" ></script>
  
  
    <script defer src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js" ></script>
  






  <script  src="https://cdn.jsdelivr.net/npm/typed.js@2/lib/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var title = document.getElementById('subtitle').title;
      
        typing(title);
      
    })(window, document);
  </script>















<!-- 主题的启动项 保持在最底部 -->
<script  src="/taotaogitee.gitee.io/js/boot.js" ></script>


</body>
</html>
